# $Id: PKGBUILD 66010 2012-02-22 14:23:40Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-io-tee
pkgver=0.64
pkgrel=4
pkgdesc="Perl/CPAN Module IO::Tee : Multiplex output to multiple handles"
arch=("any")
url="http://search.cpan.org/dist/IO-Tee"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/K/KE/KENSHAN/IO-Tee-$pkgver.tar.gz")
md5sums=('97d91e38fcadc1f01d8030a8d4f30701')

build() {
  cd $srcdir/IO-Tee-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
